import {API_HOST,API_PROXY} from "../config.js"

export const realURL = (url='')=>{
	if(url.slice(0,4)==="http") return url;
	else return `${API_HOST}${API_PROXY}${url}`
}